<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#propdef-text-box-edge">
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#propdef-text-box-trim">
<link rel="match" href="text-box-trim-initial-letter-end-001-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.spacer {
  height: 50px;
  background: lightgray;
  position: relative;
}
.target {
  font-family: Ahem;
  font-size: 40px;
  line-height: 1;
  width: 200px;
  text-box-trim: end;
  text-box-edge: text alphabetic;
}
.target::first-letter {
  initial-letter: 3;
}
</style>
<div class="spacer"></div>
<div class="target">XX &#x00C9;</div>
<div class="spacer"></div>
